import React, { Component } from 'react'
import './DaShenList.css'
import { connect } from 'react-redux'
import {
  NavBar, // 顶部标题
} from 'antd-mobile'
import TabBar from '../../components/TabBar/TabBar'
import UserList from '../../components/UserList/UserList'

class DaShen extends Component {
  render() {
    return (
      <div className='dashen'>
        <NavBar backArrow={false}>老板列表</NavBar>
        <UserList type='laoban' />
        <TabBar index='0' />
      </div>
    )
  }
}
export default connect(
  state => ({ userInfo: state.user }),
)(DaShen)
